package com.jt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jt.mapper.TaskMapper;
import com.jt.pojo.Task;
import com.jt.service.TaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TaskServiceImpl  extends ServiceImpl<TaskMapper, Task>  implements TaskService {

    @Autowired
    private  TaskMapper taskMapper;
    @Override
    public List<Task> selectTaskAll() {
        return taskMapper.selectList(null);
    }
}
